package CallculatorMini;

import java.awt.Dimension;
import java.awt.Toolkit;


import javax.swing.JFrame;
import javax.swing.SwingUtilities;

public class GDCallculatorMini {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {

			@Override
			public void run() {
				CodeCallculatorMini gd = new CodeCallculatorMini("Callculator Mini");
				gd.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
				gd.setSize(800, 480);
				gd.setVisible(true);
				Toolkit mh = Toolkit.getDefaultToolkit();
				Dimension dim = mh.getScreenSize();
				
				gd.setLocation( (int)(( dim.getWidth() - gd.getWidth() ) /2 ), (int)((dim.getHeight() - gd.getHeight())/2) );
			}
		});

	}

}
